package com.hospital.KT_Activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.TextView;
import com.hospital.activity.R;
import com.hospital.adapter.DoctorEvaluateAdapter;
import com.hospital.adapter.DoctorIntroductionAdapter;
import com.hospital.adapter.HealthArchivesAdapter;

/**
 * Created by zhangying on 2015/7/14.
 */
public class HealthArchivesActivity extends Activity {

    private  TextView head_title,tv_back;
    private LinearLayout head_back;

    private ListView health_archives_lv;

    private HealthArchivesAdapter healthArchivesAdapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.health_archives);

        head_back = (LinearLayout)findViewById(R.id.head_back);
        head_title = (TextView)findViewById(R.id.head_title);
        tv_back = (TextView)findViewById(R.id.tv_back);

        health_archives_lv =(ListView)findViewById(R.id.health_archives_lv);

        head_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });


        healthArchivesAdapter = new HealthArchivesAdapter(HealthArchivesActivity.this, R.layout.health_archives_item);
        health_archives_lv.setAdapter(healthArchivesAdapter);
    }
}
